/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package consys.social.core.dao;

import consys.social.core.bo.Entity;
import consys.social.core.bo.WallPost;
import java.io.IOException;
import java.util.List;

/**
 * Data access for Like Service
 *
 * @author Petr Kunc
 */
public interface LikeDao {

    void like(Entity who, WallPost what) throws IOException;

    void unlike(Entity who, WallPost what) throws IOException;

    List<Entity> getLikes(WallPost post) throws IOException;
}
